<?php
class WebUser extends CWebUser
{
    protected function afterLogin($fromCookie)
    {
        SignLog::model()->insertLog();
    }
}